import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/css/reset.css'
import 'dayjs/locale/zh-cn'
import locale from 'element-plus/lib/locale/lang/zh-cn'
import '@element-plus/icons-vue'
import * as Elicons from '@element-plus/icons-vue'


const app = createApp(App)
app.use(store)
app.use(router)
app.use(ElementPlus,{locale})
for (let iconName in Elicons){
    app.component(iconName,Elicons[iconName])
}
app.mount('#app')
